package com.tang.lts.remoting.protocol;

/**
 * @author Tang
 * @classname JobProtos
 * @description [  ]
 * @date 2022/5/26 15:54
 */
public class JobProtos {

    public enum RequestCode {

        HEART_BEAT(10),
        SUBMIT_JOB(11);

        private int code;

        RequestCode(int code) {
            this.code = code;
        }

    }

    public enum ResponseCode {

        HEART_BEAT_SUCCESS(10),
        SUBMIT_JOB_SUCCESS(11);

        private int code;

        ResponseCode(int code) {
            this.code = code;
        }

    }

}